#环境
FROM docker-hub.gitee.work/gitee-poc/openjdk:8-jdk-alpine
# 作者信息
MAINTAINER byfan "fanbingyang@oschina.cn"
COPY target/SpringBootTemplate-0.0.1-SNAPSHOT.jar  /root/app.jar

#设置语言包
ENV LANG zh_CN.UTF-8
ENTRYPOINT ["java", "-jar","-Dfile.encoding=UTF-8", "/root/app.jar"]